package com.cashmama.market.api.application.controller.user.request;

import com.cashmama.market.api.domain.enums.SocialTypeEnum;
import com.fqgj.common.api.ParamsObject;

/**
 * @program: market-api
 * @description
 * @author: frank
 * @create: 2020-04-28 15:15
 **/
public class AccessTokenVO extends ParamsObject {

    /**
     * 社交网络 类型
     */
    private SocialTypeEnum socialTypeEnum;
    /**
     * 第三方的用户ID
     */
    private String openId;
    /**
     * 手机号
     */
    private String mobile;
    /**
     * 令牌
     */
    private String accessToken;

    private String accessSecret;

    private String refreshToken;

    public SocialTypeEnum getSocialTypeEnum() {
        return socialTypeEnum;
    }

    public AccessTokenVO setSocialTypeEnum(SocialTypeEnum socialTypeEnum) {
        this.socialTypeEnum = socialTypeEnum;
        return this;
    }

    public String getOpenId() {
        return openId;
    }

    public AccessTokenVO setOpenId(String openId) {
        this.openId = openId;
        return this;
    }

    public String getMobile() {
        return mobile;
    }

    public AccessTokenVO setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public AccessTokenVO setAccessToken(String accessToken) {
        this.accessToken = accessToken;
        return this;
    }

    public String getAccessSecret() {
        return accessSecret;
    }

    public AccessTokenVO setAccessSecret(String accessSecret) {
        this.accessSecret = accessSecret;
        return this;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public AccessTokenVO setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
        return this;
    }

    @Override
    public void validate() {

    }
}
